
public class LeafCource extends GKAbstractCource {

    private String name;
    private String score;

    public LeafCource(String name, String score) {

        this.name = name;
        this.score = score;
    }

    public String getName() {
        return this.name;
    }

    public void info() {
        System.out.println("课程：" + this.name + ",分数：" + score);
    }
}